package com.tedu.food.sys.service;


import com.tedu.food.sys.entity.Member;
public interface MemberService {
	
	/**
	  * 保存用户自身信息以及用户对应的角色关系数据
	 * @param entity
	 * @param roleIds
	 * @return
	 */
	int saveObject(Member entity,Integer[]roleIds);
	
	Member findMemberByUsername(String username);
	Member findMemberByPhone(String phone);
}
